#include <iostream>
#ifndef MYTIME_H_
#define MYTIME_H_

class Time
{
    private:
        int hour;
        int minute;
    
    public:
        Time();
        Time(int hr, int mi=0);
        ~Time();

        void AddHour(int hr);
        void AddMinute(int mi);
        void Reset(int hr=0, int mi=0);
        void Show() const;

        Time Sum(const Time & t) const;

        Time operator+(const Time & t) const;
};



#endif